import xgboost as xgb

def get_xgb_model(n_estimators=100, random_state=0):
    return xgb.XGBClassifier(n_estimators=n_estimators,
                             random_state=random_state,
                             use_label_encoder=False,
                             eval_metric='logloss')
